export const taste_dish = "taste_dish";
export const standards_dish = "standards_dish";

export const pageSize = 10;

//Reducer
export const ADD = "ADD";
export const MINUS = "MINUS";
export const USER_SET_USER = "USER_SET_USER";

//发布的时候才需要改这里
export let active = "dev"; // dev pro test debug auto

export const resetActive = (str) => {
    active = str;
};

export const getHost = () => {
    if (active == 'pro' || active == 'dev') {
        return HOST;
    } else {
        return HOST + active;
    }
};
